#include <stdio.h>

int main()
{
    char s[20] = "Good Student";
    char c = ' ';
    int i = 0;
    int j = 0;
    for (i = 0, j = 0; s[i] != '\0'; i++) {
        if (s[i] != c) {
            s[j] = s[i];
            j++;
        }
    }
    s[j] = '\0';
    printf("%s", s);
    return 0;
}